package com.ruoyi.project.propertySystem.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 巡检项主对象 inspect_item
 * 
 * @author wangshuo
 * @date 2021-01-18
 */
public class InspectItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 巡检项名称 */
    @Excel(name = "巡检项名称")
    private String itemName;

    /** 巡检项名称 */
    @Excel(name = "巡检项标识")
    private String itemSn;

    /** 巡检分类id */
    @Excel(name = "巡检分类id")
    private Long classifyId;

    /** 扩展字段 */
    @Excel(name = "扩展字段")
    private String extraField;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifyBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtModify;

    /** 分类名称 */
    @Excel(name = "分类名称", width = 30, dateFormat = "yyyy-MM-dd")
    private String classifyName;

    /** 修改时间 */
    @Excel(name = "巡检结果显示", width = 30, dateFormat = "yyyy-MM-dd")
    private String inspectView;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setClassifyId(Long classifyId) 
    {
        this.classifyId = classifyId;
    }

    public Long getClassifyId() 
    {
        return classifyId;
    }
    public void setExtraField(String extraField)
    {
        this.extraField = extraField;
    }

    public String getExtraField()
    {
        return extraField;
    }
    public void setModifyBy(String modifyBy)
    {
        this.modifyBy = modifyBy;
    }

    public String getModifyBy()
    {
        return modifyBy;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModify(Date gmtModify) 
    {
        this.gmtModify = gmtModify;
    }

    public Date getGmtModify() 
    {
        return gmtModify;
    }

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName;
    }

    public String getInspectView() {
        return inspectView;
    }

    public void setInspectView(String inspectView) {
        this.inspectView = inspectView;
    }

    public String getItemSn() {
        return itemSn;
    }

    public void setItemSn(String itemSn) {
        this.itemSn = itemSn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemName", getItemName())
            .append("classifyId", getClassifyId())
            .append("remark", getRemark())
            .append("extraField", getExtraField())
            .append("createBy", getCreateBy())
            .append("modifyBy", getModifyBy())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModify", getGmtModify())
            .toString();
    }
}
